<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of fraccion
 *
 * @author home
 */
class fraccion {
    var $a;
    var $b;
    
    function __construct($a, $b) 
    {
        $this->a = $a;
        $this->b = $b;
    }
    
    function multiplicacion()
    {
                return $a*$b;
        
    }
    
     function suma()
    {
                return $a+$b;
        
    }
}

?>
